package com.wtwd.campus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjy
 * @since 2021-06-21
 */
public class Classes extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 班级id
     */
    @TableId(value = "classes_id", type = IdType.AUTO)
    @ApiModelProperty(value = "班级id")
    private Integer classesId;

    /**
     * 班级名称
     */
    @ApiModelProperty(value = "班级名称")
    private String classesName;

    /**
     * 年级id
     */
    @ApiModelProperty(value = "年级名称")
    private Integer gradeId;


    public Integer getClassesId() {
        return classesId;
    }

    public void setClassesId(Integer classesId) {
        this.classesId = classesId;
    }

    public String getClassesName() {
        return classesName;
    }

    public void setClassesName(String classesName) {
        this.classesName = classesName;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }



    @Override
    public String toString() {
        return "Classes{" +
        "classesId=" + classesId +
        ", classesName=" + classesName +
        ", gradeId=" + gradeId +
        ", updateTime=" + super.getUpdateTime() +
        ", createTime=" + super.getCreateTime() +
        "}";
    }
}
